<%@page import="hyl.core.db.MyDB"%>
<%@page import="com.servlet.M2"%>
<%@page import="hyl.base.flow.Track"%>
<%@page import="com.servlet.My"%>
<%@page import="hyl.base.flow.Flow"%>
<%@page import="hyl.core.MyFun"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
//通过和拒绝
String id = request.getParameter("id");
int state = MyFun.str2int(request.getParameter("state"));


	String sql = "update app set i0=? where id=?";
	Object[] params = { state , id };
	MyDB db = My.getDB1();
	db.executeUpdate(sql, params);
 
out.print("success");
%>